# Contributor: Taner Tas <taner76@gmail.com>
# Maintainer: Taner Tas <taner76@gmail.com>
pkgname=lightdm-gtk-greeter
pkgver=2.0.8
pkgrel=3
pkgdesc="Gtk based greeter for lightdm."
url="https://launchpad.net/lightdm-gtk-greeter"
# s390x: mainframe
arch="all !s390x"
license="GPL-3.0-or-later"
makedepends="gtk+3.0-dev lightdm-dev exo exo-dev xfce4-dev-tools"
subpackages="$pkgname-lang $pkgname-doc"
source="https://github.com/Xubuntu/lightdm-gtk-greeter/releases/download/lightdm-gtk-greeter-$pkgver/lightdm-gtk-greeter-$pkgver.tar.gz"
options="!check"

build() {
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--sbindir=/usr/bin \
		--with-libxklavier \
		--enable-kill-on-sigterm \
		--disable-libido \
		--disable-libindicator \
		--disable-static
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
59cad69fd7f17b6a416944804be80f306ed51ee0c55826975c8564f432e8098043b677f6452e9afa290c6ef37ebdc632cd8b79e7a0a712a3407ddbf9f200b0db  lightdm-gtk-greeter-2.0.8.tar.gz
"
